package com.iraeta.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * loginlog
 * @author 
 */
public class Loginlog implements Serializable {
    private Integer id;

    private Integer userid;

    private String username;

    public Loginlog(){}

    public Loginlog(Integer userid, String username) {
        this.userid = userid;
        this.username = username;
        this.logtime = new Date();
    }

    /**
     * 创建时间
     */
    private Date logtime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Date getLogtime() {
        return logtime;
    }

    public void setLogtime(Date logtime) {
        this.logtime = logtime;
    }
}